package cmo.neutech.day10.HomeWork.d4;

public class SalariedEmployee extends ColaEmployee{
    int monthSal;
    public SalariedEmployee(String name,int month,int monthSal){
        super(name,month);
        this.monthSal = monthSal;
    }
    @Override
    public int getSalary(int month){
        return getSalMonth(month) + monthSal;
    }
}
